package com.qf.work.service;

import com.github.pagehelper.PageInfo;
import com.qf.work.entity.Workorder;

import java.util.List;

public interface WorkorderService {
    //添加工单信息
    void insert(Workorder workorder);

    //查询全部工单信息
    List<Workorder> findAll();

    //根据项目id分页查询工单信息
    PageInfo<Workorder> findByProjectIdAndPage(Integer page, Integer rows, Long projectId);
}
